
// 定义数据类型

export interface LoginDTO {
  username: string,
  password: string
}
export interface LoginVO {
  token: string
}

/**
     {
      userId: 1,
      avatar: "https://example.com/avatar1.png",
      username: 'admin',
      password: '123456',
      desc: '平台管理员',
      roles: ['平台管理员'],
      buttons: ['curser.detail'],
      routes: ['home'],
      token: 'Admin Token'
    },
 */
export interface UserInfoVO {
  routes: string[],
  buttons: string[],
  roles: string[],
  avatar: string,
  username: string,
  desc: string,
}